﻿namespace MicroCloud.Entity
{
    /// <summary>
    /// 数据库连接字符串提供器
    /// </summary>
    public interface IConnectionStringProvider
    {
        /// <summary>
        /// 获取 指定数据上下文类型的数据库连接字符串
        /// </summary>
        /// <param name="dbContextOption">数据上下文类型</param>
        /// <returns></returns>
        string GetConnectionString(DbContextOption dbContextOption);

    }
}